<div id="tag-modal" class="modal in" aria-hidden="false" data-backdrop="static" style="">
  <div class="modal-dialog ">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"  aria-hidden="true">×</button>
        <h4 class="modal-title">{{'material_lib.tag_manage'|trans}}</h4>
      </div>
      <div class="modal-body">
        <form class="form-horizontal" id="tag-form" action="{{ tagPath|default('') }}" method="post">
          <div class="form-group" id="form">
            <div class="col-md-2 control-label">
              <label for="modal-tags">{{'material_lib.tag_manage.tag'|trans}}</label>
            </div>

            <div class="col-md-8 controls">
              <input type="text" id="modal-tags" data-url="{{ path('material_tag_show_match') }}" name="tags" required="required" class="width-full" tabindex="-1" value="" data-explain="{{'material_lib.tag_manage.tag_explain'|trans}}">
              <div class="help-block">{{'material_lib.tag_manage.tag_explain'|trans}}</div>
            </div>

          </div>
          <input type="hidden" name="_csrf_token" value="{{ csrf_token('site') }}">
          <input id="select-tag-items" name="fileIds" type="hidden" value="">
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-link" data-dismiss="modal">{{'form.btn.cancel'|trans}}</button>
        <button id="tag-create-btn" data-submiting-text="{{'form.btn.save.submiting'|trans}}" type="submit" class="btn btn-primary" data-toggle="form-submit" data-target="#tag-form ">{{'form.btn.save'|trans}}</button>
      </div>
    </div>
  </div>
</div>